package com.neusoft.utils;

public class MyJWT {
    private static String secret = "1234567890";
    public static String makeSecret(String msg) {
        char[] msgArr = msg.toCharArray();
        for(char s : secret.toCharArray()){
            for(int i = 0; i < msg.length(); i++){
                msgArr[i] = (char)(msgArr[i] ^ s);
            }
        }

        return new String(msgArr);
    }
}
